package com.yunsc.order.dto;

import com.yunsc.common.validator.ValidationGroups;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 申请退款DTO
 * @date: 2024-05-21 22:31
 */
@Data
public class ApplyOrderRefundDTO {
    @NotNull(message = "订单商品售后ID不能为空", groups = {ValidationGroups.Insert.class})
    private String orderGoodsId;
    private GoodsRefundForm form;

    @Data
    public static class GoodsRefundForm {
        private List<Integer> images;
        private Integer type;
        private String content;
    }
}
